package com.m3839.sdk.login.bean;

/**
 * @author ChenBaoyang
 * @description: HykbInternalUser
 * @date 2021/11/15 11:30
 */
public class InternalUser {

    /**
     * 快爆用户ID
     */
    private String userId;

    /**
     * 快爆用户昵称
     */
    private String nick;

    /**
     * 快爆用户登录方式
     */
    private String type;

    /**
     * 快爆用户登录token
     */
    private String token;

    /**
     * 快爆对外校验码
     */
    private String accessToken;

    public InternalUser(String userId, String nick, String type, String token) {
        this.userId = userId;
        this.nick = nick;
        this.type = type;
        this.token = token;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getUserId() {
        return userId;
    }

    public String getNick() {
        return nick;
    }

    public String getType() {
        return type;
    }

    public String getToken() {
        return token;
    }

    public String getAccessToken() {
        return accessToken;
    }

    @Override
    public String toString() {
        return "HykbUser{" +
                "userId='" + userId + '\'' +
                ", nick='" + nick + '\'' +
                ", type='" + type + '\'' +
                ", token='" + token + '\'' +
                ", accessToken='" + accessToken + '\'' +
                '}';
    }
}
